package dao;
import tool.RowMapper;
import tool.BaseDao;
import java.util.List;
import java.sql.SQLException;
import java.sql.ResultSet;
import entity.UndertbEntity;
import dao.mapper.UndertbDAOI;

/**
*@author JiangFan
*/
public class UndertbDAO extends BaseDao implements UndertbDAOI {

}
class UndertbRowMapper implements RowMapper<UndertbEntity>{
	@Override
	public UndertbEntity rowmap(ResultSet set) throws  SQLException{
		return new UndertbEntity(
			set.getString("under_id"),
			set.getString("goods_id"),
			set.getString("pricing_reasons"),
			set.getDate("under_time")
		);
	}
}
